<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--360浏览器优先以webkit内核解析-->
    <title>常用业务</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
    <th:block th:include="include :: header('常用业务')" />
    <style type="text/css">
        .alert{
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid transparent;;
            border-radius: 4px;
        }
    </style>
</head>

<body class="gray-bg" style="height: 90%">

<div class="wrapper animated fadeInRight" style="margin-top: 50px;display: flex;flex-direction: column;height: 90%;justify-content: space-between;">
    <div class="row" style="display: flex;height: 150px;">
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 70%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                       <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>首页素材管理</h3>
                        <h5 style="color: grey">首页banner图新增、替换、排序</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('1')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 70%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                        <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>解决方案&产品中心素材管理</h3>
                        <h5 style="color: grey">解决方案&产品中心&项目案例&新闻动态&关于我们banner图片替换</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('2')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 70%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                        <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>项目案例素材管理</h3>
                        <h5 style="color: grey">项目信息的新增、替换、排序</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('3')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>


    </div>

    <div class="row" style="display: flex;height: 150px;">
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 70%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                        <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>探站记素材管理</h3>
                        <h5 style="color: grey">探站视频的新增、替换、排序</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('4')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 70%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                        <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>新闻动态素材管理</h3>
                        <h5 style="color: grey">新闻动态的新增、替换、排序</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('5')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 70%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                        <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>荣誉专利素材管理</h3>
                        <h5 style="color: grey">荣誉专利图片的新增、替换、排序</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('6')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>
    </div>

    <div class="row" style="display: flex;height: 150px;">
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 71%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                        <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>资料下载素材管理</h3>
                        <h5 style="color: grey">提供下载的资料的新增、替换、排序</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('7')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 71%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                        <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>企业风采素材管理</h3>
                        <h5 style="color: grey">企业相关图片的新增、替换、排序</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('8')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>
        <div class="col-sm-3" style="width: 20%;cursor: pointer;flex: 1">
            <div class="ibox" style="margin: 0">
                <div style="display: flex;height: 71%">
                    <div style="flex: 1;align-items: center;display: flex;justify-content: center">
                        <!--<img src="../static/img/profile.jpg" class="img-circle">-->
                        <!-- <img src="/cngj/banner/profile.jpg" class="img-circle">-->
                        <img th:src="@{/img/1.png}" class="img-lg" style="width: 50px;height: 50px;margin-left: 50px;"></p>
                    </div>
                    <div class="ibox-content" style="text-align: center;height: 70%;flex: 2;margin-right: 50px;">
                        <h3>岗位招聘素材管理</h3>
                        <h5 style="color: grey">招聘岗位相关信息的新增、替换、排序</h5>
                        <!--<h1 id="rechargeSum" class="no-margins">0</h1>-->
                    </div>
                </div>

                <div onclick="openContent('9')" style="background-color: #e2dede;height: 30%;text-align: center;align-items: center;display: flex;justify-content: center">
                    编辑
                </div>
            </div>
        </div>


    </div>
</div>

     <th:block th:include="include :: footer" />
     <script th:inline="javascript">

         function openContent(type) {
             if(type == '1'){
                 var url = ctx + "cngj/banner?bannerType=1";
                 $.modal.openTab("首页素材管理", url);
             }
             if(type == '2'){
                 var url = ctx + "cngj/banner/banner2?bannerType=2";
                 $.modal.openTab("解决方案&产品中心素材管理", url);
             }
             if(type == '3'){
                 var url = ctx + "cngj/project";
                 $.modal.openTab("项目案例素材管理", url);
             }
             if(type == '4'){
                 var url = ctx + "cngj/tzj";
                 $.modal.openTab("探站记素材管理", url);
             }
             if(type == '5'){
                 var url = ctx + "cngj/news";
                 $.modal.openTab("新闻动态素材管理", url);
             }
             if(type == '6'){
                 var url = ctx + "cngj/honor";
                 $.modal.openTab("荣誉专利素材管理", url);
             }
             if(type == '7'){
                 var url = ctx + "cngj/information";
                 $.modal.openTab("资料下载素材管理", url);
             }
             if(type == '8'){
                 var url = ctx + "cngj/enterprise";
                 $.modal.openTab("企业风采素材管理", url);
             }
             if(type == '9'){
                 var url = ctx + "cngj/post";
                 $.modal.openTab("岗位招聘素材管理", url);
             }
         }

        function openOrder1(orderState) {
            var url = ctx + "warehouse/order/listMore/"+orderState;
            $.modal.openTab("查看待确认订单", url);
        }

        function openOrder2(orderState) {
            var url = ctx + "warehouse/order/listMore/"+orderState;
            $.modal.openTab("查看待配货订单", url);
        }

        function openOrder3(orderState) {
            var url = ctx + "warehouse/order/listMore/"+orderState;
            $.modal.openTab("查看配货中订单", url);
        }

        function openOrder4(orderState) {
            var url = ctx + "warehouse/order/listMore/"+orderState;
            $.modal.openTab("查看待配送订单", url);
        }

        function openStockOrder(orderState) {
            var url = ctx + "warehouse/stockorder/listMore/"+orderState;
            $.modal.openTab("查看待审核入库单", url);
        }

        function openOrderReview(orderState) {
            var url = ctx + "warehouse/order/listMoreReview/"+orderState;
            $.modal.openTab("查看待审核出库单", url);
        }

        function openReturnOrder(orderState) {
            var url = ctx + "warehouse/returnorder/listMore/"+orderState;
            $.modal.openTab("查看待审核客户退货单", url);
        }

        function openOrderReviewSupplier(orderState) {
            var url = ctx + "warehouse/order/listMoreReviewSupplier/"+orderState;
            $.modal.openTab("查看待审核返回厂家单", url);
        }

        function openReviewUserLevel() {
            var url = ctx + "warehouse/address/listMore";
            $.modal.openTab("查看小程序会员升级申请", url);
        }

    </script>
</body>
</html>
